package com.dunqi.gpm.shunqing.home.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseViewHolder;
import com.dunqi.gpm.shunqing.R;
import com.dunqi.gpm.shunqing.common.base.RecyclerAdapter;
import com.dunqi.gpm.shunqing.home.bean.Video;

import java.util.List;

/**
 * Created by 空 on 2018/1/8 0008.
 */
public class VideoListAdapter extends RecyclerAdapter<Video> {
    public VideoListAdapter(@Nullable List<Video> data) {
        super(R.layout.item_video_list, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, Video item) {
        helper.setText(R.id.title_tv, item.getWebcamName());
    }
}
